home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXQQQQuuuueeeerrrryyyyEEEExxxxtttteeeennnnssssiiiioooonnnn((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXQQQQuuuueeeerrrryyyyEEEExxxxtttteeeennnnssssiiiioooonnnn((((3333XXXX11111111))))
-
-
-
- NNNNAAAAMMMMEEEE
- XQueryExtension - determines availability of an extension
-
- SSSSYYYYNNNNTTTTAAAAXXXX
- Bool XQueryExtension(_d_i_s_p_l_a_y, _n_a_m_e, _m_a_j_o_r__o_p_c_o_d_e__r_e_t_u_r_n,
- _f_i_r_s_t__e_v_e_n_t__r_e_t_u_r_n, _f_i_r_s_t__e_r_r_o_r__r_e_t_u_r_n)
- Display *_d_i_s_p_l_a_y;
- char *_n_a_m_e;
- int *_m_a_j_o_r__o_p_c_o_d_e__r_e_t_u_r_n;
- int *_f_i_r_s_t__e_v_e_n_t__r_e_t_u_r_n;
- int *_f_i_r_s_t__e_r_r_o_r__r_e_t_u_r_n;
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- _d_i_s_p_l_a_y Specifies the connection to the X server.
-
- _n_a_m_e Specifies the extension name.
-
- _m_a_j_o_r__o_p_c_o_d_e__r_e_t_u_r_n
- Returns the major opcode.
-
- _f_i_r_s_t__e_v_e_n_t__r_e_t_u_r_n
- Returns the first event code, if any.
- Specifies the extension list.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _X_Q_u_e_r_y_E_x_t_e_n_s_i_o_n function determines if the named
- extension is present. If the extension is not present,
- _X_Q_u_e_r_y_E_x_t_e_n_s_i_o_n returns _F_a_l_s_e; otherwise, it returns _T_r_u_e.
- If the extension is present, _X_Q_u_e_r_y_E_x_t_e_n_s_i_o_n returns the
- major opcode for the extension to major_opcode_return;
- otherwise, it returns zero. Any minor opcode and the request
- formats are specific to the extension. If the extension
- involves additional event types, _X_Q_u_e_r_y_E_x_t_e_n_s_i_o_n returns the
- base event type code to first_event_return; otherwise, it
- returns zero. The format of the events is specific to the
- extension. If the extension involves additional error codes,
- _X_Q_u_e_r_y_E_x_t_e_n_s_i_o_n returns the base error code to
- first_error_return; otherwise, it returns zero. The format
- of additional data in the errors is specific to the
- extension.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- XFreeExtensionList(), XListExtensions(), "Basic Protocol
- Support Routines".
- _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 10/3/02)
-
-
-
-